package com.duruikang.LeaveAPI.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @author Drik
 * @date 2021-12-17 15:35
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sort")
public class Sort implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId("id")
    private Integer id;
    /**
     * 组别
     */
    @TableField("type")
    private Integer type;
    /**
     * 组内编号
     */
    @TableField("code")
    private Integer code;
    /**
     * 展示文本
     */
    @TableField("name")
    private String name;
    /**
     * 数值
     */
    @TableField("value")
    private BigDecimal value;
}
